<?php
/**
 * Created by PhpStorm.
 * User: wumengmeng <wu_mengmeng@foxmail.com>
 * Date: 2019/5/14 0014
 * Time: 17:56
 */

//Route::get('admin-coupons-index', ['as' => 'admin_coupons_index', 'uses' => 'CouponsController@index']);  //优惠券列表页

Route::get('admin-notice-index', ['as' => 'admin_notice_index', 'uses' => 'NoticeController@index']);  //公告列表
Route::get('admin-notice-create', ['as' => 'admin_notice_create', 'uses' => 'NoticeController@create']);  //公告列表
Route::post('admin-notice-store', ['as' => 'admin_notice_store', 'uses' => 'NoticeController@store']);  //添加公告
Route::get('admin-notice-edit', ['as' => 'admin_notice_edit', 'uses' => 'NoticeController@edit']);  //编辑公告
Route::post('admin-notice-update', ['as' => 'admin_notice_update', 'uses' => 'NoticeController@update']);  //编辑公告数据
Route::delete('admin-notice-del', ['as' => 'admin_notice_del', 'uses' => 'NoticeController@del']);  //删除公告



Route::get('admin-grade-index', ['as' => 'admin_grade_index', 'uses' => 'GradeController@index']);  //等级列表
Route::get('admin-grade-create', ['as' => 'admin_grade_create', 'uses' => 'GradeController@create']);  //添加等级视图
Route::post('admin-grade-store', ['as' => 'admin_grade_store', 'uses' => 'GradeController@store']);  //添加等级数据
Route::get('admin-grade-edit', ['as' => 'admin_grade_edit', 'uses' => 'GradeController@edit']);  //编辑等级视图
Route::post('admin-grade-update', ['as' => 'admin_grade_update', 'uses' => 'GradeController@update']);  //编辑等级数据
Route::delete('admin-grade-del', ['as' => 'admin_grade_del', 'uses' => 'GradeController@del']);  //删除等级

Route::get('admin-grade-index_equities', ['as' => 'admin_grade_index_equities', 'uses' => 'GradeController@index_equities']);  //权益列表
Route::get('admin-grade-create_equities', ['as' => 'admin_grade_create_equities', 'uses' => 'GradeController@create_equities']);  //添加权益
Route::post('admin-grade-store_equities', ['as' => 'admin_grade_store_equities', 'uses' => 'GradeController@store_equities']);  //添加权益数据
Route::get('admin-grade-edit_equities', ['as' => 'admin_grade_edit_equities', 'uses' => 'GradeController@edit_equities']);  //编辑权益
Route::post('admin-grade-update_equities', ['as' => 'admin_grade_update_equities', 'uses' => 'GradeController@update_equities']);  //编辑权益数据
Route::post('admin-grade-update_eqs', ['as' => 'admin_grade_update_eqs', 'uses' => 'GradeController@update_eqs']);  //编辑会员等级的权益
Route::delete('admin-grade-del_equities', ['as' => 'admin_grade_del_equities', 'uses' => 'GradeController@del_equities']);  //删除权益
// Route::get('admin-grade-edit_gifts', ['as' => 'admin_grade_edit_gifts', 'uses' => 'GradeController@edit_gifts']);  //编辑权益
Route::get('admin-grade-create_gifts', ['as' => 'admin_grade_create_gifts', 'uses' => 'GradeController@create_gifts']);  //添加权益礼包
Route::post('admin-grade-store_gifts', ['as' => 'admin_grade_store_gifts', 'uses' => 'GradeController@store_gifts']);  //添加权益礼包数据
Route::post('admin-grade-update_gifts', ['as' => 'admin_grade_update_gifts', 'uses' => 'GradeController@update_gifts']);  //编辑权益礼包数据
Route::delete('admin-grade-del_gifts', ['as' => 'admin_grade_del_gifts', 'uses' => 'GradeController@del_gifts']);  //删除权益礼包
Route::get('admin-grade-set_equities', ['as' => 'admin_grade_set_equities', 'uses' => 'GradeController@set_equities']);  //会员等级设置权益




Route::get('admin-coupon-index', ['as' => 'admin_coupon_index', 'uses' => 'CouponController@index']);  //优惠券列表
Route::get('admin-coupon-create', ['as' => 'admin_coupon_create', 'uses' => 'CouponController@create']);  //添加优惠券视图
Route::post('admin-coupon-store', ['as' => 'admin_coupon_store', 'uses' => 'CouponController@store']);  //添加优惠券数据
Route::get('admin-coupon-edit', ['as' => 'admin_coupon_edit', 'uses' => 'CouponController@edit']);  //编辑优惠券视图
Route::post('admin-coupon-update', ['as' => 'admin_coupon_update', 'uses' => 'CouponController@update']);  //编辑优惠券数据
Route::delete('admin-coupon-del', ['as' => 'admin_coupon_del', 'uses' => 'CouponController@del']);  //删除优惠券
Route::get('admin-coupon-list', ['as' => 'admin_coupon_list', 'uses' => 'CouponController@list']);  //优惠券领取、使用明细
Route::delete('admin-coupon-use', ['as' => 'admin_coupon_use', 'uses' => 'CouponController@coupon_use']);  //使用优惠券
Route::get('admin-coupon-list_extend', ['as' => 'admin_coupon_list_extend', 'uses' => 'CouponController@list_extend']);  //列表详情




Route::get('admin-banner-index', ['as' => 'admin_banner_index', 'uses' => 'BannerController@index']);  //banner列表
Route::get('admin-banner-create', ['as' => 'admin_banner_create', 'uses' => 'BannerController@create']);  //添加banner视图
Route::post('admin-banner-store', ['as' => 'admin_banner_store', 'uses' => 'BannerController@store']);  //添加banner数据
Route::get('admin-banner-edit', ['as' => 'admin_banner_edit', 'uses' => 'BannerController@edit']);  //编辑banner视图
Route::post('admin-banner-update', ['as' => 'admin_banner_update', 'uses' => 'BannerController@update']);  //编辑banner数据
Route::delete('admin-banner-del', ['as' => 'admin_banner_del', 'uses' => 'BannerController@del']);  //删除banner
Route::get('admin-banner-set', ['as' => 'admin_banner_set', 'uses' => 'BannerController@set']);  //banner设置
Route::post('admin-banner-set_update', ['as' => 'admin_banner_set_update', 'uses' => 'BannerController@set_update']);  //设置banner数据



Route::get('admin-user-index', ['as' => 'admin_user_index', 'uses' => 'UserController@index']);  //会员列表
Route::post('admin-user-update', ['as' => 'admin_user_update', 'uses' => 'UserController@update']);  //启用、禁用会员
Route::get('admin-user-list', ['as' => 'admin_user_list', 'uses' => 'UserController@list']);  //积分使用明细


Route::get('admin-user-detail_list', ['as' => 'admin_user_detail_list', 'uses' => 'UserController@detail_list']);  //用户明细获取积分明细接口
Route::get('admin-integral-order-list', ['as' => 'admin_integral_order_list', 'uses' => 'UserController@integral_order_list']);  //用户积分订单明细
Route::get('admin-repairstore-order-list', ['as' => 'admin_repairstore_order_list', 'uses' => 'UserController@repairstore_order_list']);  //用户服务订单明细
Route::get('admin-checkpoint-order-list', ['as' => 'admin_checkpoint_order_list', 'uses' => 'UserController@checkpoint_order_list']);  //用户服务订单明细
Route::get('admin-user-coupon-list', ['as' => 'admin_user_coupon_list', 'uses' => 'UserController@user_coupon_list']);  //用户优惠券明细
Route::get('admin-user-vehicle-list', ['as' => 'admin_user_vehicle_list', 'uses' => 'UserController@user_vehicle_list']);  //车辆列表


Route::get('admin-user-detail', ['as' => 'admin_user_detail', 'uses' => 'UserController@detail']);  //会员详细信息






Route::get('admin-invite-index', ['as' => 'admin_invite_index', 'uses' => 'InviteController@index']);  //邀请列表
Route::post('admin-invite-update', ['as' => 'admin_invite_update', 'uses' => 'InviteController@update']);  //修改邀请
Route::get('admin-invite-set', ['as' => 'admin_invite_set', 'uses' => 'InviteController@set']);  //邀请设置


Route::get('admin-feedback-index', ['as' => 'admin_feedback_index', 'uses' => 'FeedbackController@index']);  //反馈列表
Route::post('admin-feedback-update', ['as' => 'admin_feedback_update', 'uses' => 'FeedbackController@update']);  //修改反馈状态
Route::post('admin-feedback-update-remark', ['as' => 'admin_feedback_update_remark', 'uses' => 'FeedbackController@update_remark']);  //添加反馈信息处理结果

Route::get('admin-feedback-message', ['as' => 'admin_feedback_message', 'uses' => 'FeedbackController@message']);  //系统消息列表


Route::get('admin-feedback-register_gift', ['as' => 'admin_feedback_register_gift', 'uses' => 'FeedbackController@register_gift']);  //注册有礼
Route::get('admin-feedback-get-coupons', ['as' => 'admin_feedback_get_coupons', 'uses' => 'FeedbackController@get_coupons']);  //获取所有优惠券列表
Route::post('admin-feedback-register_gift_update', ['as' => 'admin_feedback_register_gift_update', 'uses' => 'FeedbackController@register_gift_update']);  //获取所有优惠券列表



Route::get('admin-order-checkpoint', ['as' => 'admin_order_checkpoint', 'uses' => 'OrderCheckpointController@index']);  //预约订单

Route::get('admin-activity-index', ['as' => 'admin_activity_index', 'uses' => 'ActivityController@index']);  //活动列表
Route::get('admin-activity-create', ['as' => 'admin_activity_create', 'uses' => 'ActivityController@create']);  //添加活动
Route::post('admin-activity-store', ['as' => 'admin_activity_store', 'uses' => 'ActivityController@store']);  //添加活动数据
Route::get('admin-activity-goods-create', ['as' => 'admin_activity_goods_create', 'uses' => 'ActivityController@goods_create']);  //添加活动数据
Route::get('admin-activity-detail', ['as' => 'admin_activity_detail', 'uses' => 'ActivityController@detail']);  //活动详情

Route::get('admin-activity-goods_list', ['as' => 'admin_activity_goods_list', 'uses' => 'ActivityController@goods_list']);  //获取商品列表
Route::post('admin-activity-goods_list_store', ['as' => 'admin_activity_goods_list_store', 'uses' => 'ActivityController@goods_list_store']);  //添加活动商品数据

Route::post('admin-activity-change-status', ['as' => 'admin_activity_change_status', 'uses' => 'ActivityController@change_status']);  //修改活动状态
Route::delete('admin-activity-goods-del', ['as' => 'admin_activity_goods_del', 'uses' => 'ActivityController@activity_goods_del']);  //修改活动状态
Route::get('admin-get-order-list', ['as' => 'admin_get_order_list', 'uses' => 'ActivityController@order_list']);  //活动相关订单列表



/**20191028*************************/

Route::get('admin-discover-index', ['as' => 'admin_discover_index', 'uses' => 'DiscoverController@index']);  //朋友圈列表
Route::get('admin-discover-list', ['as' => 'admin_discover_list', 'uses' => 'DiscoverController@list']);  //朋友圈审核列表
Route::get('admin-discover-create', ['as' => 'admin_discover_create', 'uses' => 'DiscoverController@create']);  //朋友圈添加
Route::post('admin-discover-store', ['as' => 'admin_discover_store', 'uses' => 'DiscoverController@store']);  //朋友圈添加数据
Route::delete('admin-discover-del', ['as' => 'admin_discover_del', 'uses' => 'DiscoverController@del']);  //删除朋友圈数据
Route::get('admin-discover-detail', ['as' => 'admin_discover_detail', 'uses' => 'DiscoverController@detail']);  //朋友圈详情
Route::get('admin-discover-edit', ['as' => 'admin_discover_edit', 'uses' => 'DiscoverController@edit']);  //朋友圈编辑
Route::get('admin-discover-info', ['as' => 'admin_discover_info', 'uses' => 'DiscoverController@info']);  //平台查看商户的信息详情
Route::post('admin-discover-update', ['as' => 'admin_discover_update', 'uses' => 'DiscoverController@update']);  //编辑朋友圈信息
Route::post('admin-discover-shenhe', ['as' => 'admin_discover_shenhe', 'uses' => 'DiscoverController@shenhe']);  //平台审核商户信息



Route::get('admin-server-type', ['as' => 'admin_server_type', 'uses' => 'ShopServerTypeController@index']);  //服务类型列表
Route::get('admin-server-type-create', ['as' => 'admin_server_type_create', 'uses' => 'ShopServerTypeController@create']);  //添加服务类型视图
Route::post('admin-server-type-store', ['as' => 'admin_server_type_store', 'uses' => 'ShopServerTypeController@store']);  //添加服务类型数据
Route::get('admin-server-type-edit', ['as' => 'admin_server_type_edit', 'uses' => 'ShopServerTypeController@edit']);  //编辑服务类型视图
Route::post('admin-server-type-update', ['as' => 'admin_server_type_update', 'uses' => 'ShopServerTypeController@update']);  //编辑服务类型数据
Route::delete('admin-server-type-delete', ['as' => 'admin_server_type_delete', 'uses' => 'ShopServerTypeController@delete']);  //删除数据


//审核门店提交的变更信息
Route::get('admin-shop-modify-index', ['as' => 'admin-shop-modify-index', 'uses' => 'ShopModifyController@index']);  //申请变更列表
Route::get('admin-shop-modify-detail', ['as' => 'admin-shop-modify-detail', 'uses' => 'ShopModifyController@detail']);  //申请变更信息详情
Route::post('admin-shop-modify-shenhe', ['as' => 'admin-shop-modify-shenhe', 'uses' => 'ShopModifyController@shenhe']);  //审核 变更信息


//用户协议、隐私政策llll
Route::get('admin-protocol-list', ['as' => 'admin_protocol_list', 'uses' => 'ProtocolController@list']);  //协议列表
Route::get('admin-protocol-index', ['as' => 'admin_protocol_index', 'uses' => 'ProtocolController@index']);  //用户协议
Route::get('admin-protocol-create', ['as' => 'admin_protocol_create', 'uses' => 'ProtocolController@create']);  //添加用户协议视图
Route::post('admin-protocol-store', ['as' => 'admin_protocol_store', 'uses' => 'ProtocolController@store']);  //添加用户协议数据
Route::get('admin-protocol-edit', ['as' => 'admin_protocol_edit', 'uses' => 'ProtocolController@edit']);  //编辑用户协议视图
Route::post('admin-protocol-update', ['as' => 'admin_protocol_update', 'uses' => 'ProtocolController@update']);  //编辑用户协议数据
Route::delete('admin-protocol-delete', ['as' => 'admin_protocol_delete', 'uses' => 'ProtocolController@delete']);  //删除数据
Route::get('admin-protocol-get-list', ['as' => 'admin_protocol_get_list', 'uses' => 'ProtocolController@get_list']);  //编辑用户协议视图



Route::get('admin-protocol-policy', ['as' => 'admin_protocol_policy', 'uses' => 'ProtocolController@policy']);  //隐私政策
Route::post('admin-protocol-create_policy', ['as' => 'admin_protocol_create_policy', 'uses' => 'ProtocolController@create_policy']);  //添加隐私政策

Route::get('admin-protocol-about', ['as' => 'admin_protocol_about', 'uses' => 'ProtocolController@about']);  //关于信达（用户端）
Route::post('admin-protocol-about-create', ['as' => 'admin_protocol_about_create', 'uses' => 'ProtocolController@about_create']);  //编辑关于信达（用户端）


Route::get('admin-protocol-join', ['as' => 'admin_protocol_join', 'uses' => 'ProtocolController@join']);  //门第加盟说明
Route::get('admin-protocol-create-join', ['as' => 'admin_protocol_create_join', 'uses' => 'ProtocolController@create_join']);  //添加加盟说明视图
Route::post('admin-protocol-store-join', ['as' => 'admin_protocol_store_join', 'uses' => 'ProtocolController@store_join']);  //添加加盟说明数据


//道路救援
Route::get('admin-road-rescue-banner', ['as' => 'admin_road_rescue_banner', 'uses' => 'RoadRescueController@banner']);  //道路救援banner
Route::get('admin-road-rescue-create_banner', ['as' => 'admin_road_rescue_create_banner', 'uses' => 'RoadRescueController@create_banner']);  //道路救援banner视图
Route::post('admin-road-rescue-store_banner', ['as' => 'admin_road_rescue_store_banner', 'uses' => 'RoadRescueController@store_banner']);  //道路救援banner添加
Route::get('admin-road-rescue-edit_banner', ['as' => 'admin_road_rescue_edit_banner', 'uses' => 'RoadRescueController@edit_banner']);  //编辑道路救援banner视图
Route::post('admin-road-rescue-update_banner', ['as' => 'admin_road_rescue_update_banner', 'uses' => 'RoadRescueController@update_banner']);  //编辑道路救援banner
Route::delete('admin-road-rescue-delete_banner', ['as' => 'admin_road_rescue_delete_banner', 'uses' => 'RoadRescueController@delete_banner']);  //删除道路救援banner


Route::get('admin-road-rescue-index', ['as' => 'admin_road_rescue_index', 'uses' => 'RoadRescueController@index']);  //道路救援列表

Route::get('admin-road-rescue-create', ['as' => 'admin_road_rescue_create', 'uses' => 'RoadRescueController@create']);  //道路救援视图
Route::post('admin-road-rescue-store', ['as' => 'admin_road_rescue_store', 'uses' => 'RoadRescueController@store']);  //道路救援添加
Route::get('admin-road-rescue-edit', ['as' => 'admin_road_rescue_edit', 'uses' => 'RoadRescueController@edit']);  //道路救援编辑视图
Route::post('admin-road-rescue-update', ['as' => 'admin_road_rescue_update', 'uses' => 'RoadRescueController@update']);  //道路救援编辑数据
Route::delete('admin-road-rescue-delete', ['as' => 'admin_road_rescue_delete', 'uses' => 'RoadRescueController@delete']);  //删除道路救援

Route::get('admin-manual-original', ['as' => 'admin_manual_original', 'uses' => 'ManualController@original']);  //原厂配件参数
Route::get('admin-manual-create', ['as' => 'admin_manual_create', 'uses' => 'ManualController@create']);  //添加原厂配件参数视图
Route::get('admin-manual-edit', ['as' => 'admin_manual_edit', 'uses' => 'ManualController@edit']);  //编辑原厂配件参数视图
Route::post('admin-manual-update', ['as' => 'admin_manual_update', 'uses' => 'ManualController@update']);  //编辑原厂配件参数数据
Route::delete('admin-manual-delete', ['as' => 'admin_manual_delete', 'uses' => 'ManualController@delete']);  //删除原厂配件参数数据


//保养项目(这几个暂时不需要  功能也未完善)
Route::get('admin-manual-upkeep', ['as' => 'admin_manual_upkeep', 'uses' => 'ManualController@upkeep']);  //保养项目列表
Route::get('admin-manual-create_upkeep', ['as' => 'admin_manual_create_upkeep', 'uses' => 'ManualController@create_upkeep']);  //添加保养项目视图
Route::post('admin-manual-store_upkeep', ['as' => 'admin_manual_store_upkeep', 'uses' => 'ManualController@store_upkeep']);  //添加保养项目数据
Route::get('admin-manual-edit_upkeep', ['as' => 'admin_manual_edit_upkeep', 'uses' => 'ManualController@edit_upkeep']);  //编辑保养项目视图
Route::post('admin-manual-update_upkeep', ['as' => 'admin_manual_update_upkeep', 'uses' => 'ManualController@update_upkeep']);  //编辑保养项目数据
Route::delete('admin-manual-delete_upkeep', ['as' => 'admin_manual_delete_upkeep', 'uses' => 'ManualController@delete_upkeep']);  //编辑保养项目数据


//发票模块
Route::get('admin-invoice-index', ['as' => 'admin_invoice_index', 'uses' => 'InvoiceController@index']);  //申请发票列表
Route::get('admin-invoice-detail', ['as' => 'admin_invoice_detail', 'uses' => 'InvoiceController@detail']);  //获取指定申请发票的详情
Route::get('admin-invoice-goods_order', ['as' => 'admin_invoice_goods_order', 'uses' => 'InvoiceController@goods_order']);  //获取指定申请发票的订单信息
Route::post('admin-invoice-check_order', ['as' => 'admin_invoice_check_order', 'uses' => 'InvoiceController@check_order']);  //修改发票关联的订单（确认发送发票）


//道路救援
Route::get('admin-guide-banner', ['as' => 'admin_guide_banner', 'uses' => 'FeedbackController@guide']);  //商户端app引导页banner

//礼包管理
Route::get('admin-gift-index', ['as' => 'admin_gift_index', 'uses' => 'GiftController@index']);  //礼包列表
Route::get('admin-gift-edit', ['as' => 'admin_gift_edit', 'uses' => 'GiftController@edit']);  //编辑礼包
Route::get('admin-gift-get-coupons', ['as' => 'admin_gift_edit_get_coupons', 'uses' => 'GiftController@gift_get_coupons']);  //获取优惠券数据
Route::post('admin-gift-store', ['as' => 'admin_gift_store', 'uses' => 'GiftController@store']);

//测试路由
Route::get('admin-gift-regiset', ['as' => 'admin_gift_regiset', 'uses' => 'GiftController@gift_regiset']);  //发放注册礼包
Route::get('admin-gift-invite', ['as' => 'admin_gift_invite', 'uses' => 'GiftController@gift_invite']);  //发放注册礼包
Route::get('admin-gift-old', ['as' => 'admin_gift_old', 'uses' => 'GiftController@gift_old']);  //发放注册礼包

Route::get('admin-jpush', ['as' => 'admin_jpush', 'uses' => 'JpushController@jpush']);  //推送信息页面
Route::post('admin-jpush-store', ['as' => 'admin_jpush_store', 'uses' => 'JpushController@jpush_store']);  //推送信息


Route::get('admin-rongyun-im', ['as' => 'admin_rongyun_im', 'uses' => 'JpushController@rongyun_im']);  //融云聊天
Route::post('admin-get-user_info', ['as' => 'admin_get_user_info', 'uses' => 'JpushController@get_user_info']);  //融云聊天
Route::get('admin-get-im-list', ['as' => 'admin_get_im_list', 'uses' => 'JpushController@get_im_list']);  //融云聊天列表
Route::get('admin-get-im-my', ['as' => 'admin_get_im_my', 'uses' => 'JpushController@get_im_my']);  //融云我的聊天信息

Route::post('admin-get-new-message', ['as' => 'admin_get_new_message', 'uses' => 'JpushController@get_new_message']);  //融云聊天


Route::get('admin-get-platform_info', ['as' => 'admin_get_platform_info', 'uses' => 'JpushController@get_platform_info']);  //获取平台的信息

Route::get('admin-get-sensitivity-index', ['as' => 'admin_get_sensitivity_index', 'uses' => 'PublicController@sensitivity_index']);  //敏感字列表
Route::post('admin-get-sensitivity-update', ['as' => 'admin_get_sensitivity_update', 'uses' => 'PublicController@sensitivity_update']);  //敏感字列表
Route::post('admin-get-sensitivity-search', ['as' => 'admin_get_sensitivity_search', 'uses' => 'PublicController@sensitivity_search']);  //敏感字列表
